//
//  UIDevice+Camera.h
//  Meng800
//
//  Created by 姚宗超 on 14-8-5.
//  Copyright (c) 2014年 点财网. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIDevice (Camera)

+ (BOOL) isCameraAvailable;

+ (BOOL) isRearCameraAvailable;

+ (BOOL) isFrontCameraAvailable;

+ (BOOL) doesCameraSupportTakingPhotos;

+ (BOOL) isPhotoLibraryAvailable;

+ (BOOL) canUserPickVideosFromPhotoLibrary;

+ (BOOL) canUserPickPhotosFromPhotoLibrary;

+ (BOOL) cameraSupportsMedia:(NSString *)paramMediaType sourceType:(UIImagePickerControllerSourceType)paramSourceType;

@end
